import service from '@/utils/request'
// httpGet
const { httpPost } = service
const publicRequest = {
    //提交审核
    adoptIdObtainSubmitForReview (params) {
        return httpPost({
            url: '/turnoversettle/audit/commit',
            params
        })
    },
    //发起审核
    adoptIdObtainSendOutReview (params) {
        return httpPost({
            url: '/turnoversettle/audit/audit',
            params
        })
    },
    //撤回审核
    adoptIdObtainWithdrawReview (params) {
        return httpPost({
            url: '/turnoversettle/audit/undoAudit',
            params
        })
    },
    //作废
    adoptIdObtainToVoid (params) {
        return httpPost({
            url: '/turnoversettle/audit/nullify',
            params
        })
    },
    //获取审核历史
    adoptIdObtainGetAuditHistory (params) {
        return httpPost({
            url: '/turnoversettle/audit/getAuditHistory',
            params
        })
    },
    //获取流程按钮显示
    adoptIdObtainGetButtonsData (params) {
        return httpPost({
            url: '/turnoversettle/audit/getCurrentUnitInfo',
            params
        })
    },
}
export default publicRequest